package com.ruoyi.snmanagement.mapper;

import com.ruoyi.snmanagement.domain.PrinterSn;
import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import org.apache.ibatis.annotations.Param;

import java.util.List;

/**
 * <p>
 * 打印机序列号管理表 Mapper 接口
 * </p>
 *
 * @author ljh
 * @since 2025-09-24
 */
public interface PrinterSnMapper extends BaseMapper<PrinterSn> {
    List<PrinterSn> selectPrinterList(PrinterSn printerSn);
    int updatePrinterSn(PrinterSn printerSn);

    @Override
    int updateById(PrinterSn printerSn);

    @Override
    int insert(PrinterSn printerSn);

    PrinterSn selectPrinterSnBySn(String sn);

    List<PrinterSn> selectPrinterSnListByIds(List<Long> ids);
}
